s = '%*.*f' % (5, 2, 2.7182)